<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<center>
<table border="0" width="550" cellpadding="0" cellspacing="0">
	<!-- 블로그정보상단 -->
	<tr>
		<td width="500" align="right">
			<s:a href="../board/blogList.do?jsptype=1" theme="ajax" targets="blogcontent">게시물 전체 보기</s:a>
		<br></td>
	</tr>
	<tr>
		<td align="center">
		
		<table border=0 width="550" height="100" cellpadding="5" cellspacing="0">
			<tr bgcolor="eeeeee" height="1">
				<td>번호</td>
				<td>제목</td>
				
				
			</tr>
			<s:iterator value="blist">
			<tr height="1">
				<td>${rownum }</td>
				<td>
					<s:a href="../board/bbcontent.do?page=1&no=%{no}&jsptype=1&ono=%{ono}" theme="ajax" targets="blogcontent">
						${subject }
					</s:a>
				</td>
			</tr>
			</s:iterator>
		</table>
		</td>
	</tr>
	<tr><td colspan="2"><hr></td></tr>
	
	<!-- 블로그정보하단 -->
	<tr>
	
		<td align="center">
		
			<table width="550" height="200" cellpadding="0" cellspacing="0">
			<tr>
				<td colspan="5" align="right">
					<s:a href="../board/blogList.do?jsptype=2&ono=2" targets="blogcontent" theme="ajax">
						사진 전체 보기
					</s:a>
				</td>
			</tr>
			<tr>
		<s:iterator value="plist">
				<td>
					<s:a href="../board/pcontent.do?page=1&no=%{no}&jsptype=2&ono=%{ono}" theme="ajax" targets="blogcontent">
						<img src="../board/photo/${filename}" width="100" height="100">
					</s:a>	
					<br><br>${subject }
				</td>
		</s:iterator>
			</tr>
			</table>
			
		</td>
	</tr>	
</table>
</center>
</body>
</html>